﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace TodoApp.Migrations
{
    public partial class v27 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "TMS_accidentModel",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
                    Acctitel = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    AccNumber = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    AccPeop = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    AccTim = table.Column<DateTime>(type: "datetime2", nullable: false),
                    Accbao = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Accyuan = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Accmiao = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Accjing = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    AccTxt = table.Column<string>(type: "nvarchar(max)", nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_TMS_accidentModel", x => x.Id);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "TMS_accidentModel");
        }
    }
}
